x = input("请输入一个五位数")
if x[0] == x[4] and x[1] == x[3]:
    print("%s是回文数"%x)
else:
    print("%s不是回文数"%x)
